package service.line;

import java.util.List;

import vo.LineVO;
import dao.line.LineDAO;

public class LineServiceImpl implements LineService{

	private LineDAO lineDAO;

	public void setLineDAO(LineDAO lineDAO) {
		this.lineDAO = lineDAO;
	}

	@Override
	public List<LineVO> getLineList() throws Exception {
		return lineDAO.getLineList();
	}

	@Override
	public void registerLine(String line_name) throws Exception {
		lineDAO.registerLine(line_name);
	}

	@Override
	public void updateLine(LineVO param) throws Exception {
		lineDAO.updateLine(param);
	}

	@Override
	public void deleteLine(int line_no) throws Exception {
		lineDAO.deleteLine(line_no);
	}
}
